package com.qingke.mapper;

import java.util.List;

import com.qingke.pojo.Employee;

public interface EmployeeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Employee record);
    
    int softDelete(Integer id);

    int insertSelective(Employee record);

    Employee selectByPrimaryKey(Integer id);
    
    Employee selectByEmployeeNumber(String employeeNumber);
    
    Employee selectByName(String name);
    
    List<Employee> listEmployee();

    int updateByPrimaryKeySelective(Employee record);

    int updateByPrimaryKey(Employee record);
}